package cn.nange.cmfz.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class User implements Serializable {
    private Integer id;
    private String tel;
    private String pwd;
    private String photo;
    private String nick;
    private String name;
    private String sex;
    private String autograph;
    private String province;
    private String city;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8" ,pattern = "yyyy年MM月dd日")
    private Date createDate;
    private Integer status;
    private Integer guruId;
    private Guru guru;
}
